package org.darkforest.common.services;

import org.darkforest.model.Admin;
import org.darkforest.vo.MemberBase;
import org.darkforest.vo.WapAjaxMsg;

/**
 * Created by Libing on 2015/6/14.
 */
public interface AdminService {
    WapAjaxMsg<MemberBase> doLogin(String userName, String pwd);
    /**
     * 根据管理员信息查询
     * @param admin
     * @return
     */
    Admin getAdminInfoByCondition(Admin admin);

    int updateByPrimaryKeySelective(Admin record);

}
